package com.zero.system.service;


import com.zero.system.entity.Models;
import com.zero.system.util.PageBean;

import java.util.List;
import java.util.Map;

public interface ModelsService{
    PageBean<Models> queryPage(Map<String, Object> paramMap);

    Integer getCount(Map<String, Object> paramMap);

    int add(Models models);

    Models findById(Integer id);

    int delete(List<Integer> ids);

    int update(Models models);

    Models findByModelsNo(String modelsNo);

    public List<Models> findAll();

    public List<Models> findByCompanyId(int companyId);

}
